package com.annual.system.dto.order;

import com.annual.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ReqOrderPayListDto extends BaseEntity {

    @ApiModelProperty(value = "状态（1.待付款 2.已付款 3.已处理 4.已退款 5.已关闭）")
    @Min(value = 1,message = "状态错误")
    @Max(value = 5,message = "状态错误")
    private Integer status;

    @ApiModelProperty(value = "创建订单开始时间（yyyy-MM-dd）")
    private String startTime;

    @ApiModelProperty(value = "创建订单结束时间(yyyy-MM-dd)")
    private String endTime;
}
